package Dto;

public class Employee {
    private Integer id;
    private String name;
    private String idcard;
    private String gender;
    private String phone;
    private String address;
    private String hiredate;
    private String status;
    //无参构造
    public Employee() {
    }
    //有参构造
    public Employee(Integer id, String name, String idcard, String gender, String phone, String address, String hiredate, String status) {
        this.id = id;
        this.name = name;
        this.idcard = idcard;
        this.gender = gender;
        this.phone = phone;
        this.address = address;
        this.hiredate = hiredate;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idcard='" + idcard + '\'' +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", hiredate=" + hiredate +
                ", status='" + status + '\'' +
                '}';
    }
}
